package org.softmed.action.guice;

import java.util.ArrayList;
import java.util.List;

import org.softmed.action.resolver.ActionStepResolver;

import com.google.inject.Inject;
import com.google.inject.Provider;
import com.google.inject.name.Named;

public class SpecificActioStepResolverProvider implements
		Provider<List<ActionStepResolver>> {
	private List<ActionStepResolver> specificMethodProcessors = new ArrayList<ActionStepResolver>();

	@Inject
	public SpecificActioStepResolverProvider(@Named("JavaResolver")
	ActionStepResolver someObject1, @Named("GroovyClassResolver")
	ActionStepResolver someObject2, @Named("GroovyResolver")
	ActionStepResolver someObject3) {
		specificMethodProcessors.add(someObject1);
		specificMethodProcessors.add(someObject2);
		specificMethodProcessors.add(someObject3);
	}

	public List<ActionStepResolver> get() {
		return specificMethodProcessors;
	}
}
